@import "components/common/_variables.scss";

.list {
    list-style-type: none;
    padding: 0;
    margin: 0;
    &_checked {
        line-height: 1.5;
        &::after {
            content: '';
            flex: auto;
        }
        a {
            color: $color-alt;
            &:hover {
                text-decoration: none;
            }
        }
        & > li {
            margin-bottom: $spacing-s;
            position: relative;
            &::before {
                content: '';
                width: 15px;
                height: 15px;
                position: absolute;
                left: -25px;
                top: 3px;
                background: url('../images/icons/check.svg');
                background-size: contain;
                background-repeat: no-repeat;
            }
        }
    }
    &_default {
        li {
            position: relative;
            margin-bottom: $spacing-m;
            font-weight: $font-weight-semibold;
            &:before {
                content: '';
                position: absolute;
                left: -20px;
                top: 4px;
                width: 5px;
                height: 5px;
                border: 2px solid #2A5EFF;
                transform: rotate(-45deg);
            }
        }
    }
    &_spaced li {
        margin-bottom: $spacing-l;
    }
    &_big li {
        font-size: $font-size-h3;
        font-weight: $font-weight-regular;
        line-height: 1.5;
        &:before {
            left: -20px;
            top: 14px;
        }
    }
}